package com.guage.model;
import com.guage.commons.result.PageInfo;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author dechao.yang
 * @since 2017-12-14
 */
@TableName("shop_video")
public class ShopVideo extends Model<ShopVideo> {

    private static final long serialVersionUID = 1L;

    /**
     * 视频编号
     */
	@TableId(value="video_id", type= IdType.AUTO)
	private Long videoId;
    /**
     * 视频名称
     */
	@TableField("video_name")
	private String videoName;
    /**
     * 视频介绍
     */
	@TableField("video_description")
	private String videoDescription;
    /**
     * 视频类型
     */
	@TableField("video_type")
	private Integer videoType;
    /**
     * 播放次数
     */
	@TableField("play_sum")
	private Long playSum;
    /**
     * 评论次数
     */
	@TableField("coment_sum")
	private Long comentSum;
    /**
     * 收藏次数
     */
	@TableField("collection_sum")
	private Long collectionSum;
    /**
     * 支持数
     */
	@TableField("support_sum")
	private Long supportSum;
    /**
     * 踩数
     */
	@TableField("oppose_sum")
	private Long opposeSum;
    /**
     * 视频状态(0:无效，1：有效：2：删除)
     */
	@TableField("video_status")
	private Integer videoStatus;
    /**
     * 视频大小
     */
	@TableField("video_size")
	private Double videoSize;
    /**
     * 视频地址
     */
	@TableField("video_url")
	private String videoUrl;
    /**
     * 播放时长
     */
	@TableField("video_time")
	private Integer videoTime;


	public Long getVideoId() {
		return videoId;
	}

	public void setVideoId(Long videoId) {
		this.videoId = videoId;
	}

	public String getVideoName() {
		return videoName;
	}

	public void setVideoName(String videoName) {
		this.videoName = videoName;
	}

	public String getVideoDescription() {
		return videoDescription;
	}

	public void setVideoDescription(String videoDescription) {
		this.videoDescription = videoDescription;
	}

	public Integer getVideoType() {
		return videoType;
	}

	public void setVideoType(Integer videoType) {
		this.videoType = videoType;
	}

	public Long getPlaySum() {
		return playSum;
	}

	public void setPlaySum(Long playSum) {
		this.playSum = playSum;
	}

	public Long getComentSum() {
		return comentSum;
	}

	public void setComentSum(Long comentSum) {
		this.comentSum = comentSum;
	}

	public Long getCollectionSum() {
		return collectionSum;
	}

	public void setCollectionSum(Long collectionSum) {
		this.collectionSum = collectionSum;
	}

	public Long getSupportSum() {
		return supportSum;
	}

	public void setSupportSum(Long supportSum) {
		this.supportSum = supportSum;
	}

	public Long getOpposeSum() {
		return opposeSum;
	}

	public void setOpposeSum(Long opposeSum) {
		this.opposeSum = opposeSum;
	}

	public Integer getVideoStatus() {
		return videoStatus;
	}

	public void setVideoStatus(Integer videoStatus) {
		this.videoStatus = videoStatus;
	}

	public Double getVideoSize() {
		return videoSize;
	}

	public void setVideoSize(Double videoSize) {
		this.videoSize = videoSize;
	}

	public String getVideoUrl() {
		return videoUrl;
	}

	public void setVideoUrl(String videoUrl) {
		this.videoUrl = videoUrl;
	}

	public Integer getVideoTime() {
		return videoTime;
	}

	public void setVideoTime(Integer videoTime) {
		this.videoTime = videoTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.videoId;
	}

}
